< Prev(J) / Next(K) > / View :

Filename: /text/sbasic/shared/03101700.xhp

(section: defobj) (bookmark: bm_id3149811)
DefObj statement

DefObj ステートメント

DefObj Statement [Runtime]
DefObj ステートメント [実行時](hd_id3149811.1)

Sets the default variable type, according to a letter range, if no type-declaration character or keyword is specified.
型宣言子や型宣言キーワードが指定されていない変数に対して、変数名に応じて適用するデフォルトの変数型を設定します。(par_id3147573.2)

(/section: defobj)

Syntax:
構文:(hd_id3150504.3)

Defxxx Characterrange1[, Characterrange2[,...]]
Defxxx Characterrange1[, Characterrange2[,...]](par_id3147530.4)

Parameters:
パラメータ:(hd_id3153896.5)

Characterrange: Letters that specify the range of variables that you want to set the default data type for.
Characterrange: デフォルトのデータ型の設定対象である変数の範囲を指定する文字。(par_id3148552.6)

xxx: Keyword that defines the default variable type:
xxx: デフォルトの変数型を定義するキーワード。(par_id3150358.7)

Keyword: Default variable type
キーワード:デフォルトの変数型(par_id3148798.8)

DefObj: Object
DefObj: オブジェクト(par_id3150769.9)

Example:
例:(hd_id3156212.10)

REM Prefix definitions for variable types:
REM 変数型のプレフィックスの定義:(par_id3153969.12)

DefBool b
DefBool b(par_id3156424.13)

DefDate t
DefDate t(par_id3159254.14)

DefDbL d
DefDbL d(par_id3150440.15)

DefInt i
DefInt i(par_id3161832.16)

DefLng l
DefLng l(par_id3145365.17)

DefObj o
DefObj o(par_id3149481.18)

DefVar v
DefVar v(par_id3152886.19)


< Prev / Next >